//
//  CaculatorTwo.m
//  链式编程01
//
//  Created by 许卫星 on 17/2/13.
//  Copyright © 2017年 许卫星. All rights reserved.
//

#import "CaculatorTwo.h"

@implementation CaculatorTwo
- (CaculatorTwo *(^)(int index))add
{
    return ^CaculatorTwo* (int index){
        self.result += index;
        return self;
    };
}
@end
